const lfy = {
    net: {
        ajax(url, data, callback) {
            $.ajax({
                url: url,
                dataType: "JSON",
                data: data,
                type: "post",
                success(result) {
                    if (result.url) {
                        console.log(111)
                        window.location.href = result.url;
                        return false;
                    }
                    callback(result)
                }
            })
        }
    }
}
